#!/usr/local/bin/python3
# -*- coding: UTF-8 -*-
"""
@author:apple
@file:inherit.py
@time:2021/08/31
"""



class Person:
    ...
    def __init__(self,name,age):
        self.name = name
        self.age = age



class Student(Person):

    def __init__(self,name,age,score):
        super().__init__(name,age)
        self.score = score


if __name__ == '__main__':
    pass
    print(Person.__bases__)
    print(Student.__bases__)
    print(Student.mro())
    # stu = Student('zhangsan',21,78)
    # print(stu.__dict__)